﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Common.Identity
{
    /// <summary>
    /// 授权中心客户端配置
    /// </summary>
    public class OAuthClientConfig
    {
        public static string ApiName { get; set; } = "Gateway";

        public static string ClientId { get; set; } = "AuthenticationCenter";

        public static string Secret { get; set; } = "365BBCC0-0145-445D-8DE2-D452566CD5F3";

        public static string GrantType { get; set; } = "password";

        public static string Scope { get; set; } = "Gateway";
    }
    /// <summary>
    /// 授权中心配置
    /// </summary>
    public class OAuthServerConfig
    {
        /// <summary>
        /// 过期秒数
        /// </summary>
        public const int ExpireIn = 60;


        public const string Scheme = "Bearer";
    }
}
